home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global autoMin
- set min to field "autoMinutes"
- if min <> "0.5" then
- set newmin to min - 0.5
- put newmin into field "tmpField"
- set str to field "tmpField"
- set len to the number of chars in str
- if char len of str = "0" then
- set len to len - 2
- set str to char 1 to len of str
- put str into field "tmpfield"
- end if
- put field "tmpField" into field "autoMinutes"
- set autoMin to field "autoMinutes"
- setAutoTime()
- end if
- end
-